package com.bjpowernode.workbench.web.service;

import com.bjpowernode.workbench.web.domain.Activity;

import java.util.List;
import java.util.Map;

public interface ActivityService {
    int insertActivity(Activity activity);

    List<Activity> selectActivity(Activity activity);

    int selectCountActivityByCondition(Activity activity);

    int deleteActivityByIds(String[] ids);

    int updateActivityById(Activity activity);

    Activity selectActivityById(String id);

    List<Activity> selectAllActivity();

    List<Activity> selectCheckedActivity(String[] id);

    int insertActivityByList(List<Activity> activityList);

    Activity selectActivityDetailById(String id);

    List<Activity> selectActivityForDetailByClueId(String clueId);

    List<Activity> selectActivityForDetailByNameAndClueId(Map<String,String> map);

    List<Activity> selectActivityForDetailByActivityIds(String[] id);

    List<Activity> selectActivityForConvertByNameAndClueId(Map<String,Object> map);

    List<Activity> selectActivityByName(String name);

}
